import SvgIcon from '../packages/svg-icon';

export default {
  title: 'Ltns Design/通用/svg-icon 图标',
  component: SvgIcon,
};

const Template = (args, { argTypes }) => {
  console.log('SvgIcon', args, argTypes);
  return {
    props: Object.keys(argTypes),
    components: { SvgIcon },
    template: '<svg-icon v-bind="$props"></svg-icon>',
  };
};

export const Icon = Template.bind({});
Icon.args = {
  icon: 'icon-xiayibu',
};
